x86/shadow: More consistent printing for debug messages
authorAndrew Cooper <andrew.cooper3@citrix.com>
Sat, 2 Jul 2016 10:28:13 +0000 (11:28 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 2 Sep 2016 10:19:36 +0000 (11:19 +0100)
commitd910c15ce9dbef7bc60cf4982bf28ed810f3267f
treea4bc99fcc46b0053cd1701e8b532f10a2eb587be
parentc8777e62d9af845b5fd158684eaed10918fc5cf8
x86/shadow: More consistent printing for debug messages

 * Use %pv or just d%d in preference to the multiple current ways of
   presenting the same information.
 * Use PRI_mfn instead of opencoding it.
 * Drop all explicit use of __func__ from SHADOW_{PRINTK,DEBUG}() calls.  The
   wrappers already include it.
 * Use hex rather than decimal for printing a pagefault error code.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/shadow/common.c
xen/arch/x86/mm/shadow/multi.c